import Vue from 'vue'
import Vuex from 'vuex'
import home from './home'

import beWorthBuying from './beWorthBuying'
import list from './list'
import classify from './classify'
import user from './user'
import cart from './cart'
import detail from './detail'
import search from './search'
import trade from './trade'
import pay from './pay'

Vue.use(Vuex);

export default new Vuex.Store({
    modules: {
        home,
        list,   
        classify,
        beWorthBuying,
        user,
        cart,
        detail,
        search,
        trade,
        pay,
    }
})